#FROM adoptopenjdk/openjdk11:alpine-jre
#FROM openjdk:17-jdk-alpine
#FROM registry.cn-beijing.aliyuncs.com/wangxiaochun/openjdk:8u212-jre-alpine3.9
#FROM registry.cn-beijing.aliyuncs.com/wangxiaochun/openjdk:17-jdk-alpine
FROM registry.cn-beijing.aliyuncs.com/wangxiaochun/eclipse-temurin:17.0.13_11-jre-noble


ADD target/helloworld-spring-boot-*-SNAPSHOT.jar /applications/helloworld-spring-boot.jar

#ENTRYPOINT ["/usr/local/openjdk-11/bin/java -jar /applications/helloworld-spring-boot.jar --server.port=80"]
#CMD ["java","-jar","/applications/helloworld-spring-boot.jar --server.port=8888"]
CMD ["java","-jar","/applications/helloworld-spring-boot.jar","--server.port=8888"]
